/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package course;

/**
 *
 */

// Course klass som hanterar tabellen Course i mySQL
public class Course {

    private String code;
    private String courseName;
    private String educationArea;
    private String courseType;
    private double hpPoints;

    public Course() {
    }

    public Course(String code, String courseName, String educationArea, String courseType, double points_hp) {

        setCode(code);
        setCourseName(courseName);
        setEducationArea(educationArea);
        setCourseType(courseType);
        setHpPoints(hpPoints);

    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getCode() {
        return code;
    }

    public void setCourseName(String courseName) {
        this.courseName = courseName;
    }

    public String getCourseName() {
        return courseName;
    }

    public void setEducationArea(String educationArea) {
        this.educationArea = educationArea;
    }

    public String getEducationArea() {
        return educationArea;
    }

    public void setCourseType(String courseType) {
        this.courseType = courseType;
    }

    public String getCourseType() {
        return courseType;
    }

    public void setHpPoints(double hpPoints) {
        this.hpPoints = hpPoints;
    }

    public Double getHpPoints() {
        return hpPoints;
    }
}
